package com.team.mp.api.service.intf;


import com.team.mp.api.bo.HealthRecordAddBo;
import com.team.mp.mapper.entity.HealthRecord;
import com.team.mp.vo.R;

/**
 * @program: MyProject
 * @description: 业务接口层
 * @author: yyj
 * @create: 2023-03-28 20:40:12
 */
public interface HealthrecordService {
    /**
     * 新增内容
     */
    R save(HealthRecordAddBo bo);

    /**
     * 修改内容
     */
    R update(HealthRecord healthrecord);

    /**
     * 删除
     */
    R del(long id);

    /**
     * 查询详情
     */
    R queryByCond(Integer uid, Integer type, Integer mealornot, int page, int size);

    /**
     * 查询 所有数据
     */
    R queryAll();
}
